Component({
    properties: {
        activeId: {
            type: null
        },
        self: {
            type: null
        }
    },
    lifetimes: {
        attached: function() {
            this.getiPnoneBottom();
        },
        moved: function() {},
        detached: function() {}
    },
    data: {
        iPnoneBottomBol: !1
    },
    methods: {
        goTo: function(e) {
            var t = e.currentTarget.dataset.id;
            switch (t) {
              case "1":
                t != this.data.activeId && wx.redirectTo({
                    url: "/packageH/circleCommunity/circleIndex/circleIndex"
                });
                break;

              case "2":
                t != this.data.activeId && wx.redirectTo({
                    url: "/packageH/circleCommunity/circlePayRecords/circlePayRecords"
                });
                break;

              case "3":
                wx.navigateTo({
                    url: "/packageH/circleCommunity/circleIssue/circlelssue"
                });
                break;

              case "4":
                (t != this.data.activeId || this.data.self) && wx.redirectTo({
                    url: "/packageH/circleCommunity/circleMySet/circleMySet"
                });
                break;

              case "5":
                wx.reLaunch({
                    url: "/packageG/member_v2/member_v2"
                });
                break;

              default:
                console.log("error");
            }
        },
        getiPnoneBottom: function() {
            try {
                wx.getStorageSync("iPhoneBottom") && this.setData({
                    iPnoneBottomBol: !0
                });
            } catch (e) {}
        }
    }
});